package top.codedance.iotp.slave.configuration;

import top.codedance.iotp.slave.net.handle.Controller;
import top.codedance.iotp.slave.net.handle.action.OprationController;

import java.util.HashMap;
import java.util.Map;

public class HttpRouteConfig {
    private static final String CONTENT_PATH = "/rest/api";

    public static Map<String, Controller> getConfig(){
        HashMap<String, Controller> routeConfig = new HashMap<>();
        /**
         * 注册中心信息
         * request:
         *
         *
         *  response:
         *
         */
        routeConfig.put(CONTENT_PATH + "/operation", new OprationController());

        return routeConfig;
    }
}
